package cn.com.tiza.spiro.jvm.gc;

/**
 * Created by TZ0643 on 2015-12-29.
 */
public class PretenureSizeThresholdTest {

    private static final int _1MB = 1024 * 1024;

    public static void main(String[] args) throws InterruptedException {
        byte[] allocation;
        allocation = new byte[ _1MB / 2];
        System.gc();

        Thread.sleep(1000);
    }
}
